package com.itc.access.server.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itc.access.mapper.FlowControlMsgMapper;
import com.itc.access.server.FlowControlMsgServer;
import com.itc.system.api.listener.FlowControlMsg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class FlowControlMsgServerImpl extends ServiceImpl<FlowControlMsgMapper, FlowControlMsg> implements FlowControlMsgServer {

    @Autowired
    FlowControlMsgMapper flowControlMsgMapper;

    @Override
    public void addAll(FlowControlMsg flowControlMsg) {
        flowControlMsgMapper.addAll(flowControlMsg);
    }
}
